# -*- coding =utf-8 -*-
# @Time : 2022/9/16 14:52
# @Author :1814-09胡海燕
# @File : getImage.py
# @Software : PyCharm
def getImg(str1):

    list1 = []

    while 1:

        firstSign = str1.find('img src="')

        endSign = str1.find('.jpg')

        if firstSign == -1 or endSign == -1:

            break

        list1.append("https://www.tute.edu.cn/" + str1[firstSign + 15:endSign + 4])

        str1 = str1[endSign + 4:]

    return list1


